function setIP(){

var IP = document.getElementById("imagepack").value;
if(IP.search("file:/")!=-1){ alert("No local imagepacks allowed!"); }
else{
var temp = getCookie("PST_config").split("|");
DBL = temp[1];
temp = IP + "|" + DBL;
setCookie("PST_config",temp);
}

}

function setDBL(){

var DBL = document.getElementById("dblevel").value;
var temp = getCookie("PST_config").split("|");
var IP = temp[0];
temp = IP + "|" + DBL;
setCookie("PST_config",temp);

}

function getIP(){

var temp = getCookie("PST_config").split("|");
return temp[0];

}

function getDBL(){

var temp = getCookie("PST_config").split("|");
return temp[1];

}